package com.shd.edanpei.presenter.contract;

import com.shd.edanpei.base.BaseIPresenter;
import com.shd.edanpei.base.BaseIView;
import com.shd.edanpei.bean.ScoreModel;
import com.shd.edanpei.ui.adapter.AccountAdapter;

/**
 * Created by mc on 2018/10/10.
 * yang-wen-wen
 */

public interface TeseMVPContract {

    interface TestIView extends BaseIView {

        /**
         * 设置账户信息
         *
         * @param data
         */
        void setTestInfo(ScoreModel data);

        AccountAdapter getAdapter();

        void setImage(String values);
    }

    interface TestIPresenter extends BaseIPresenter {

        /**
         * 查询账户信息
         */
        void getAccountInfo();

        /**
         * 查询收支列表
         *
         * @param type
         */
        void refresh(String type);

        /**
         * 加载收支列表
         *
         * @param type
         */
        void loadMore(String type);

        void getImage();
    }
}
